<?php
	$comment = $this;
	$user = $comment->getUser();
?>
<li>
	<div class="Widget_Flow_GenericFlow_Comment Content" comment_id="<?php echo $comment->getGenericId(); ?>">
		<?php if($comment->isDeletable()) : ?><a class="Delete Icon"></a><?php endif ?>
		<div class="Left Part">
			<img src="<?php echo _s($user->getMiniPath()); ?>" alt="<?php echo _s($user->getFullName()); ?>" />
		</div>
		<div class="Right Part">
			<p><a class="Name" href="<?php echo _s($user->getUrl()); ?>"><?php echo _s($user->getFullName()); ?></a> 
			<?php echo nl2br(_s($comment->getMessage())); ?></p>
			<h6><?php echo \Library\I18n\En\Date::toHumanRelative( $comment->getPublicationTime() ); ?><?php if( $comment->isLikable( _u() ) ) : ?>
			&nbsp;&nbsp;-&nbsp;&nbsp;<a action="like" currentIndex="<?php echo $comment->isLikedBy( _u() ) ? 1 : 0 ?>"></a>
			<?php endif ?>
			<span><?php $likes = $comment->getLikes(); if ($likes) : ?>
			<img src="images/icons/like.png" alt="Likes" /> <?php echo $likes; ?>
			<?php endif ?></span></h6>
		</div>
		<div style="clear:both"></div>
	</div>
</li>
